package com.ruoyi.ysg.service.impl;

import com.ruoyi.ysg.mapper.YsgCommonMapper;
import com.ruoyi.ysg.service.IYsgCommonService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;
import java.util.Map;
@Service
public class YsgCommonServiceImpl implements IYsgCommonService {
    @Resource
    YsgCommonMapper commonMapper;
    @Override
    public List<Map> getClassOptions(String keyWord) {
        return commonMapper.getClassOptions(keyWord);
    }

    @Override
    public List<Map> getTeacherOptions(String keyWord) {
        return commonMapper.getTeacherOptions(keyWord);
    }

    @Override
    public List<Map> getCourseOptions(String classId) {
        return commonMapper.getCourseOptions(classId);
    }
}
